$.messager.model={
    cancel:{text:"取消"},
    ok:{text:"确定"}

};
//禁用jQuery底层深度递归自动加[]
jQuery.ajaxSettings.traditional = true;
function reload(url) {
    $.messager.alert("1.5秒后刷新");
    setTimeout(function () {
        if(url){
            location.href = url;

        }else{
            location.reload();
        }
    },1500);
}